package com.api.hg.model;

import com.api.sw.duban.annotation.Field;
import com.api.sw.duban.annotation.Table;

import java.text.SimpleDateFormat;
import java.util.Date;

@Table(value="uf_uf_gbxtzczmxxexc",datasource = "local")
public class gbzcException {
    @Field(dbFiledName="")
    private String kpwybs="";//卡片唯一标识
    @Field(dbFiledName="")
    private String kph="";//卡片号
    @Field(dbFiledName="")
    private String mldm="";//目录代码
    @Field(dbFiledName="")
    private String mlmc="";//目录名称
    @Field(dbFiledName="")
    private String gdzcbm="";//固定资产编码
    @Field(dbFiledName="")
    private String gdzcmc="";//		固定资产名称
    @Field(dbFiledName="")
    private String ggxh="";//规格型号
    @Field(dbFiledName="")
    private String pp="";//	品牌
    @Field(dbFiledName="")
    private double dj=0;//单价
    @Field(dbFiledName="")
    private int zcly=-1;//资产来源
    @Field(dbFiledName="")
    private int kpzt=-1;//卡片状态
    @Field(dbFiledName="")
    private String sxrq="";//	生效日期
    @Field(dbFiledName="")
    private String qdrq="";//取得日期
    @Field(dbFiledName="")
    private String jssj="";//减少时间
    @Field(dbFiledName="")
    private int sybm=0;//使用部门
    @Field(dbFiledName="")
    private int syr=0;//使用人
    @Field(dbFiledName="")
    private String cfdd="";//存放地点
    @Field(dbFiledName="")
    private String bz="";//	备注
    @Field(dbFiledName="")
    private String gbzcid="";//	关保资产ID
    @Field(dbFiledName="")
    private String gbbid="";//	关保建模表id

    /* 建模自带属性*/
    @Field(dbFiledName="")
    private String modedatacreater="1";//创建人
    @Field(dbFiledName="")
    private String modedatacreatedate="";//创建日期
    @Field(dbFiledName="")
    private String formmodeid="196";//模块ID 默认值 本地14 海关测试195 海关正式196
    @Field(dbFiledName="")
    private String modedatacreatertype="0";//创建类型
    @Field(dbFiledName="")
    private String modedatacreatetime="";//创建时间
    public gbzcException(){
        SimpleDateFormat sim=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        this.modedatacreatedate=sim.format(new Date()).split(" ")[0];
        this.modedatacreatetime=sim.format(new Date()).split(" ")[1];
    }



    public String getKpwybs() {
        return kpwybs;
    }

    public void setKpwybs(String kpwybs) {
        this.kpwybs = kpwybs;
    }

    public String getKph() {
        return kph;
    }

    public void setKph(String kph) {
        this.kph = kph;
    }

    public String getMldm() {
        return mldm;
    }

    public void setMldm(String mldm) {
        this.mldm = mldm;
    }

    public String getMlmc() {
        return mlmc;
    }

    public void setMlmc(String mlmc) {
        this.mlmc = mlmc;
    }

    public String getGdzcbm() {
        return gdzcbm;
    }

    public void setGdzcbm(String gdzcbm) {
        this.gdzcbm = gdzcbm;
    }

    public String getGdzcmc() {
        return gdzcmc;
    }

    public void setGdzcmc(String gdzcmc) {
        this.gdzcmc = gdzcmc;
    }

    public String getGgxh() {
        return ggxh;
    }

    public void setGgxh(String ggxh) {
        this.ggxh = ggxh;
    }

    public String getPp() {
        return pp;
    }

    public void setPp(String pp) {
        this.pp = pp;
    }

    public double getDj() {
        return dj;
    }

    public void setDj(double dj) {
        this.dj = dj;
    }

    public int getZcly() {
        return zcly;
    }

    public void setZcly(int zcly) {
        this.zcly = zcly;
    }

    public int getKpzt() {
        return kpzt;
    }

    public void setKpzt(int kpzt) {
        this.kpzt = kpzt;
    }

    public String getSxrq() {
        return sxrq;
    }

    public void setSxrq(String sxrq) {
        this.sxrq = sxrq;
    }

    public String getQdrq() {
        return qdrq;
    }

    public void setQdrq(String qdrq) {
        this.qdrq = qdrq;
    }

    public String getJssj() {
        return jssj;
    }

    public void setJssj(String jssj) {
        this.jssj = jssj;
    }

    public int getSybm() {
        return sybm;
    }

    public void setSybm(int sybm) {
        this.sybm = sybm;
    }

    public int getSyr() {
        return syr;
    }

    public void setSyr(int syr) {
        this.syr = syr;
    }

    public String getCfdd() {
        return cfdd;
    }

    public void setCfdd(String cfdd) {
        this.cfdd = cfdd;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    public String getGbzcid() {
        return gbzcid;
    }

    public void setGbzcid(String gbzcid) {
        this.gbzcid = gbzcid;
    }

    public String getModedatacreater() {
        return modedatacreater;
    }

    public void setModedatacreater(String modedatacreater) {
        this.modedatacreater = modedatacreater;
    }

    public String getModedatacreatedate() {
        return modedatacreatedate;
    }

    public void setModedatacreatedate(String modedatacreatedate) {
        this.modedatacreatedate = modedatacreatedate;
    }

    public String getFormmodeid() {
        return formmodeid;
    }

    public void setFormmodeid(String formmodeid) {
        this.formmodeid = formmodeid;
    }

    public String getModedatacreatertype() {
        return modedatacreatertype;
    }

    public void setModedatacreatertype(String modedatacreatertype) {
        this.modedatacreatertype = modedatacreatertype;
    }

    public String getModedatacreatetime() {
        return modedatacreatetime;
    }

    public void setModedatacreatetime(String modedatacreatetime) {
        this.modedatacreatetime = modedatacreatetime;
    }

    public String getGbbid() {
        return gbbid;
    }

    public void setGbbid(String gbbid) { this.gbbid = gbbid; }
    @Override
    public String toString() {
        return "gbzcException{" +
                "kpwybs='" + kpwybs + '\'' +
                ", kph='" + kph + '\'' +
                ", mldm='" + mldm + '\'' +
                ", mlmc='" + mlmc + '\'' +
                ", gdzcbm='" + gdzcbm + '\'' +
                ", gdzcmc='" + gdzcmc + '\'' +
                ", ggxh='" + ggxh + '\'' +
                ", pp='" + pp + '\'' +
                ", dj=" + dj +
                ", zcly='" + zcly + '\'' +
                ", kpzt='" + kpzt + '\'' +
                ", sxrq='" + sxrq + '\'' +
                ", qdrq='" + qdrq + '\'' +
                ", jssj='" + jssj + '\'' +
                ", sybm=" + sybm +
                ", syr=" + syr +
                ", cfdd='" + cfdd + '\'' +
                ", bz='" + bz + '\'' +
                ", gbzcid='" + gbzcid + '\'' +
                ", modedatacreater='" + modedatacreater + '\'' +
                ", modedatacreatedate='" + modedatacreatedate + '\'' +
                ", formmodeid='" + formmodeid + '\'' +
                ", modedatacreatertype='" + modedatacreatertype + '\'' +
                ", modedatacreatetime='" + modedatacreatetime + '\'' +
                ", gbbid='" + gbbid + '\'' +
                '}';
    }
}
